﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Select.ascx.cs" Inherits="Modules_Permission_Select" %>
<%@ Register Assembly="Portal.Core" Namespace="Portal.Core.Web.UI.Controls" TagPrefix="cc1" %>
<cc1:WPanel ID="WPanel1" runat="server" Icon="Themes\Images\Permission.jpg" Title="Quản lý">
    Chọn vai trò quản lý<br />
    <asp:DropDownList ID="dlUser" runat="server" DataTextField="DisplayName" DataValueField="ID" Width="200">
    </asp:DropDownList>
    <asp:Button ID="btnView" runat="server" Text="Thay đổi quyền" OnClick="View_Click" /><br />
    <asp:Literal ID="message" runat="server">
    </asp:Literal>
    <asp:PlaceHolder ID="phPermission" runat="server" Visible="false">
    <div style="float: right">
            <asp:Button ID="btnSaveTop" runat="server" Text="Lưu lại" OnClick="Save_Click" />
            <asp:Button ID="btnCancelTop" runat="server" Text="Bỏ qua" OnClick="Cancel_Click" />
        </div>
        <table class="permission">
            <tr>
                <th align="left" style="width: 30%">
                    Hành động đặc biệt
                </th>
                <th align="left">
                    
                </th>
            </tr>
            <asp:PlaceHolder ID="phGeneral" runat="server"></asp:PlaceHolder>
        </table>
        <table class="permission">
            <tr>
                <th align="left" style="width: 30%">
                    Khối Module
                </th>
                <th align="left" style="width: 15%">
                    Xem
                </th>
                <th align="left" style="width: 15%">
                    Sửa/Tạo mới
                </th>
                <th align="left">
                    Xóa
                </th>
            </tr>
            <asp:PlaceHolder ID="phModule" runat="server"></asp:PlaceHolder>
        </table>
        <table class="permission">
            <tr>
                <th align="left" style="width: 30%">
                    Chuyên mục
                </th>
                <th align="left" style="width: 15%">
                    Gửi bài
                </th>
                <th align="left" style="width: 15%">
                    Biên tập
                </th>
                <th align="left">
                    Xuất bản
                </th>
            </tr>
            <asp:PlaceHolder ID="phCategory" runat="server"></asp:PlaceHolder>
        </table>
        <div style="float: right">
            <asp:Button ID="btnSave" runat="server" Text="Lưu lại" OnClick="Save_Click" />
            <asp:Button ID="btnCancel" runat="server" Text="Bỏ qua" OnClick="Cancel_Click" />
        </div>
    </asp:PlaceHolder>
    <br />
</cc1:WPanel>
